home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / ScreenSavers / darken / description < prev    next >
Text File  |  1995-06-12  |  1KB  |  29 lines

  1. I developed this technique to darken my MegaPixel display completely when I
  2. log out to prevent further burn-in of the login dialogue box.  This technique
  3. has been tested under NeXTStep 1.0, 2.0, 2.1 and 3.0.  (Some modification of
  4. the make and source files may be necessary under versions of NeXTStep less
  5. than 3.0.  See 00README.)
  6.  
  7. 1) I created a small program to manipulate screen brightness, called VidLev.
  8.  
  9. 2) I used the suggestion from Art Isbell <isbell@ucscf.UCSC.EDU> about
  10.    loginwindow's LoginHook and LogoutHook defaults, defined LoginHook and
  11.    LogoutHook shell scripts, and declared them root's loginwindow defaults.
  12.    The LogoutHook script uses VidLev to darken the screen.  The screen stays
  13.    dark until the "brightness up" control key is pressed.  (Moving the mouse
  14.    or typing to the login dialogue box will not automatically re-brighten the
  15.    screen until 30 minutes after the last logoff -- pressing "brightness up"
  16.    always works.)
  17.  
  18. 3) VidLev stays in the background and re-darkens the screen every 10 minutes,
  19.    because some process -- maybe loginwindow -- "dims" the screen to a
  20.    brighter level after 30 minutes.  I tried modifying AutoDimTime for root's
  21.    NeXT1 and loginwindow -- that had no effect.
  22.  
  23. 4) At login time the LoginHook shell script sends a SIGHUP to the background
  24.    VidLev, causing it to restore screen intensity to values remembered from
  25.    logout time.
  26.  
  27. Vic Abell <abe@mace.cc.purdue.edu>
  28. 30 October 1992
  29.